package com.testmall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.testmall.entity.Category;
import com.testmall.mapper.CategoryMapper;
import com.testmall.service.CategoryService;
/**
  * @Description: 
  * @Author: littleDesire
  * @Date: 2022-06-21 14:29
  * @Version: 1.0
  * 
  */
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService{
    @Autowired
    CategoryMapper categoryMapper;

    @Override
    public List<Category> queryCategory(String id) {
        return categoryMapper.queryCategory(id);
    }


}
